/*
 * Copyright (C) 2012 TopCoder Inc., All Rights Reserved.
 */
package com.ibm.dst.capacity.services;


/**
 * <p>
 * XSeriesReportServiceException is the base exception of the component and extends from XSeriesReportServiceException and is thrown to indicate that there is issue in XSeries report generation or import or insert of Xseries capacity data. This exception is thrown from the methods of XSeriesReportService and its implementation to indicate issues in servicing the request. Specific sub-classes of this exception in this component are defined to handle specific exception cases in servicing the requests.
 * </p>
 * <p>
 * This is a checked exception.
 * </p>
 * <p>
 * Thread-Safety: This class extends from a thread-safe base class and does not define state of its own and neither modifies the super classes state and hence is thread-safe.
 * </p>
 * @author fastprogrammer, TCSDEVELOPER
 * @version 1.0
 */
@SuppressWarnings("serial")
public class XSeriesReportServiceException extends CapacityToolServiceException {
    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key and message].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param key
     */
    public XSeriesReportServiceException(String key, String message) {
        super(key, message);
    }

    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key, message and cause].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception. The cause parameter is for the inner exception which has resulted in this exception being thrown to the user.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     * cause: an inner exception which has resulted in this exception being thrown to the user
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param cause
     * @param key
     */
    public XSeriesReportServiceException(String key, String message, Throwable cause) {
        super(key, message, cause);
    }
}

